import socket

host = 'localhost'
port =  51423

s = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
s.connect((host,port))
s.sendall('hello world')
data =  s.recv(4096)
s.close()

print "recving something : ",data
